#include<stdio.h>

void main()
{
	int i;
	float sum, high = 100;

	for(i = 0 ; i < 10 ; i++)
	{
		sum += 2 * high;
		high = high /2;
	}
	printf("distance=%f 10th high=%f\n",sum - 100, high);
}
